package com.woniuxy.intellihome.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * <p>
 *
 * </p>
 *
 * @author huwei 08-11 18:57 LocalDateTime改为String
 * @author jobob
 * @since 2021-08-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("m_user")
@ToString
public class User implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String account;

    private String password;

    @TableField(exist = false)
    private String password2;

    private String email;

    private String picture;

    private Integer score;
    @TableField("reg_time")
    private String regTime;

    private String code;

    private String status;

    @TableField(exist = false)
    private String agree;
    //注册时间起止属性
    @TableField(exist = false)
    private String startRegTime;
    @TableField(exist = false)
    private String endRegTime;
    //积分起止属性
    @TableField(exist = false)
    private Integer startScore;
    @TableField(exist = false)
    private Integer endScore;

}
